public class RFM50
{
    public final static int LED1 = 0;
    public final static int LED2 = 1;
      
    public final static int SI1000 = 0xD1;
    public final static int SI1001 = 0xD2;
    
    public final static int NORMAL = 0;
    public final static int IDLE = 1;
    public final static int STOP = 2;
    public final static int SUSPEND = 3;
    public final static int SLEEP = 4;
    
    public final static int PRECINT = 0;
    public final static int LPINT = 1;
    public final static int EXT = 2;
    public final static int RTC = 3;
    
    public final static int CMOS = 0;
    public final static int CMOSDIV2 = 1;
    public final static int RC = 2;
    public final static int CAPOSC = 3;
    public final static int XTOSC = 4;
    public final static int XTOSCDIV2 = 5;
    
    public final static int WAKEONINTERRUPT = 0;
    public final static int WAKEONWATCHDOG = 1;
    
    public static native void Led(int ledNo, int state);
    public static native void Wait(int mSec);
    public static native void ProcessBytes(byte[] bytesToProcess);
    
    public static native int GetPartNumber();
    
    public static native void SetPowerMode(int mode);
    public static native int GetWakeUpReason();
    public static native void DisableOscBias();
    public static native void EnableOscBias();
    public static native void SetClockDivisor(int div);
    public static native void EnableClockSS();
    public static native void SetExtOscMode(int mode);
    public static native void SetExtOscBias(int bias);
    
}